/*通话聊天组件-样式*/
// 聊天对话-header
.chat-status-header {
  height: 40px;
  padding: 5px;
  border-bottom: 1px solid gray;
  // 电话号码
  .chat-statusheader-phone {
    font-size: 20px;
    font-weight: bold;
    float: left;
  }
  // 通话状态
  .chat-statusheader-status {
    float: left;
    margin-left: 10px;
  }
  // 通话状态icon
  .chat-statusheader-statusicon {
    float: right;
  }
  // 通话时长
  .chat-statusheader-talktime {
    float: right;
  }
}
// 聊天对话-顶部播放
.chat-sound-header {
  display: flex;
  justify-content: space-between;
  .chat-sound-bar {
    width: 92%;
  }
}
// 聊天对话-body
.chat-body {
  height: 100%;
  padding: 15px;
  overflow-y: auto;

  // 显示历史
  .chat-showhistory {
    text-align: center;
  }
  // 聊天对话框
  .chat-message {
    min-height: 48px;
    margin-bottom: 10px;
    display: flex;
  }
  // 主叫
  .chat-message-callermessage {
    max-width: 70%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
  }
  // 被叫
  .chat-message-calledmessage {
    max-width: 70%;
    float: right;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #3591ff;
    color: white;
  }
  // 主叫图像
  .chat-ava {
    width: 48px;
    height: 48px;
    margin: 0 10px 0 10px;
  }
  // 被叫图像
  .chat-message-calledava {
    float: right;
  }
  .called-message {
    flex-direction: row-reverse;
  }
  // 转人工样式
  .chat-transferman {
    margin: 10px auto 10px auto;
    width: 70%;
    background-color: #70abf1;
    color: white;
    text-align: center;
    border-radius: 5px;
  }
  // 响铃样式
  .chat-incall-placeholder {
    height: 500px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  // 聊天对话框-样式-未理解
  .chat-message-not-understand {
    .messaget-tip {
      padding: 0 15px;
      color: red;
      line-height: 3;
    }
    .chat-message-calledmessage {
      background-color: red;
    }
  }
}
